package com.jkoss.wine.warehouse.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;


/**
 * 仓库盘点单
 * 
 * @Author Jason
 * @Version 1.0, 2018-12-02
 * @See
 * @Since com.jkoss.wine.warehouse.entity
 * @Description: TODO
 */
@TableName("ware_inventory_order")
public class WareInventoryOrder extends Model<WareInventoryOrder> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;
    /**
     * 订单编号
     */
    @TableField("onum")
    private String onum;
    /**
     * 制单人
     */
    @TableField("sgps")
    private String sgps;
    /**
     * 订单时间
     */
    @TableField("odtm")
    private Date odtm;
    /**
     * 备注
     */
    @TableField("remk")
    private String remk;
    /**
     * 添加时间
     */
    @TableField("add_time")
    private Date addTime;
    /**
     * 操作人
     */
    @TableField("operator")
    private String operator;
    /**
     * 是否删除 0否1是
     */
    @TableField("del")
    private Integer del;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOnum() {
        return onum;
    }

    public void setOnum(String onum) {
        this.onum = onum;
    }

    public String getSgps() {
        return sgps;
    }

    public void setSgps(String sgps) {
        this.sgps = sgps;
    }

    public Date getOdtm() {
        return odtm;
    }

    public void setOdtm(Date odtm) {
        this.odtm = odtm;
    }

    public String getRemk() {
        return remk;
    }

    public void setRemk(String remk) {
        this.remk = remk;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "WareInventoryOrder{" +
        ", id=" + id +
        ", onum=" + onum +
        ", sgps=" + sgps +
        ", odtm=" + odtm +
        ", remk=" + remk +
        ", addTime=" + addTime +
        ", operator=" + operator +
        ", del=" + del +
        "}";
    }
}
